﻿using System;

using Microsoft.Xna.Framework.Graphics;

namespace xEngine.Rendering
{
    public static class BlendStates
    {
        #region Properties

        public static BlendState Opaque
        {
            get
            {
                return BlendState.Opaque;
            }
        }
        public static BlendState Additive
        {
            get
            {
                return BlendState.Additive;
            }
        }
        public static BlendState AlphaBlend
        {
            get
            {
                return BlendState.AlphaBlend;
            }
        }
        public static BlendState NonPremultiplied
        {
            get
            {
                return BlendState.NonPremultiplied;
            }
        }
        public static BlendState Multiply
        {
            get
            {
                return new BlendState()
                {
                    AlphaBlendFunction = BlendFunction.Add,
                    ColorDestinationBlend = Blend.SourceColor,
                    ColorSourceBlend = Blend.Zero
                };
            }
        }

        #endregion
    }
}
